package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap25 extends OSMap
	{
		public function OSMap25()
		{
			super();

			addBackground(new OSBridge(20, 600, 10, 5, false));

			var ground:OSGround = new OSGround(420, 940, 20, 140, 0, false);
			ground.setNoErosionDown([6]);
			ground.erode();
			addBackground(ground);

			addBackground(new OSBridge(440, 660, 7, 5, false));

			ground = new OSGround(720, 640, 20, 440, 0, false);
			ground.setNoErosionDown([21]);
			ground.setNoErosionRight([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(740, 700, 220, 380, 0, false);
			ground.setNoErosionDown([198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208]);
			ground.setNoErosionLeft([0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 165, 176, 187, 198]);
			ground.setNoErosionRight([10, 21, 32, 43, 54, 65, 76, 87, 98, 109, 120, 131, 142, 153, 164, 175, 186, 197, 208]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(0, 580, 20, 500, 0, false);
			ground.setNoErosionDown([24]);
			ground.setNoErosionLeft([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]);
			ground.erode();
			add(ground);

			ground = new OSGround(420, 580, 20, 360, 0, false);
			ground.erode();
			add(ground);

		}
	}
}
